package net.lzzy.spingsecurity.repository;

import net.lzzy.spingsecurity.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;


public interface UserRepository extends JpaRepository<User, Integer> {
public User findByUsername(String username);
public  User findByEmail(String email);
        }
